package com.qixin.api.service;

import com.baomidou.mybatisplus.service.IService;
import com.qixin.api.bean.ComUserCarRenting;
import com.qixin.api.bean.Tuizu;
import com.qixin.api.bean.pojo.WelcomScroll;
import org.apache.ibatis.annotations.Param;

import java.sql.SQLException;
import java.util.List;

/**
 * <p>
 * 用户租车中间表 服务类
 * </p>
 *
 * @author 吕正睿
 * @since 2018-11-12
 */
public interface ComUserCarRentingService extends IService<ComUserCarRenting> {
    Integer updaterefresh(Long datetime)throws SQLException;
	String rentcar(ComUserCarRenting comUserCarRenting);

    /**
     * 企业平台首页滚动条
     * @param id
     * @return
     */
    List<WelcomScroll> findWelcomScroll(  Long id );

    /**
     *
     * @param carId
     * @param dataId
     * @return
     * @throws SQLException
     */
    boolean  comit(Long carId,Long dataId,Long userId) ;
}
